PLUGIN_NAME = sin
PLUGIN_COMPILE_FLAGS = -fPIC -c -o $(PLUGIN_NAME).o -O3
PLUGIN_LINK_FLAGS = -shared -Wl,-soname,libplug$(PLUGIN_NAME).so -o libplug$(PLUGIN_NAME).so   $(PLUGIN_NAME).o -lfftw3 -lboost_thread -O3
CPP=g++
MAKE=make

all:
	$(CPP) $(PLUGIN_COMPILE_FLAGS) $(PLUGIN_NAME).cpp;\
		$(CPP) $(PLUGIN_LINK_FLAGS);\
        rm *.o;\

clean:
	rm *.so
